[ libohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Back to the top of Port_type
端子 (Port) の型をその端子が取りあつかう datapack の型名で表します。
Template classes Send< T>, Receive< T>, ReceiveNointp< T>, Relay< T>, I_file< T>, O_file< T> will be derived using multi-inheritance from this class Port_type< T> and Receive_port, Send_port, Relay_port, Input_file, Output_file, respectively. For example, Send< T> will be derived from Send< T> and Send_port.
例えば、Send< T> は、Send_port とPort_type<
T> とを多重継承して作成されます。
Object <-- Port <-- Sender_port <-- Send_port <--+-- Send<T> | Port_type<T> <--+
In Receive< T>, Send< T>, Relay< T>, ..., the pure virtual function Data_pack_type(void) declared in class Port will be implemented so it returns Port_type< T>::data_pack_type.
This implementation of Data_pack_type makes certain that all the ports Receive< T>, Send< T>, ... which treat the same data type Data< T> returns the same string.
と記述してあります。
template class Port_type<double>;
template class Port_type<float>;
template class Port_type<int>;
template class Port_type<long>;
template class Port_type<OHyMosString>;
char* Port_type<double>::data_pack_type = "double";
char* Port_type<float>::data_pack_type = "float";
char* Port_type<int>::data_pack_type = "int";
char* Port_type<long>::data_pack_type = "long";
char* Port_type<OHyMosString>::data_pack_type = "OHyMosString";
Back to the top of Port_type
char* data_pack_type;
Data member. Name of the datapack type
static char* data_pack_type;
Back to the top of Port_type
Port_type(void) ;
Constructor
Port_type(void) ;
Function is currently defined inline.
Back to the top of Port_type
~Port_type(void) ;
Destructor
~Port_type(void) ;
Function is currently defined inline.
Back to the top of Port_type
Back to the top of Port_type
Back to the top of Port_type
Back to the top of Port_type
Report problems to jkotula@stratasys.com