ReceiveNointp

ReceiveNointp< T> is a class of ports which receive Data< T>

[ libohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

template <class T>
class ReceiveNointp : public Receive_port, public Port_type<T>
{

public:
char* Data_pack_type(void) ;
Boolean Get_pulse_data(time_t t, T& v);
ReceiveNointp<T>* NewPort() ;
Boolean Init(char* p_name, int p_num) ;
ReceiveNointp(char* p_name, int p_num) ;
ReceiveNointp(void) ;
~ReceiveNointp(void) ;
protected:
}; // ReceiveNointp

Back to the top of ReceiveNointp


DESCRIPTION

ReceiveNointp< T> receives data of class Data< T>. ReceiveNointp< T> can be connected with Send< T>, Relay< T>, and I_file< T>.

The port of class ReceiveNointp< T> does not provide those functions to interpolate data values between data times. If you need functions for interpolation, please look Receive< T>.

Back to the top of ReceiveNointp


char* Data_pack_type(void) ;

Returns the data_pack_type which expresses the type of data to be receided. The user must not change the contents of the area to which data_pack_type points.

Data_pack_type() is a pure virtual function declared in the base class Port. It is implemented here. It returns data_pack_type of base class Port_type< T>.

          RETURN:
           char*  the pointer to the string which expresses the
                  type of data to be received.
     

  char* Data_pack_type(void)                           
;

Function is currently defined inline.


Back to the top of ReceiveNointp


Boolean Get_pulse_data(time_t t, T& v);

If the datapack at time t exist, returns YES and the data value is stored in "v". Otherwise, returns NO.

  virtual Boolean
  Get_pulse_data(time_t t, T& v);

Back to the top of ReceiveNointp


ReceiveNointp<T>* NewPort() ;

Returns a new pointer to a new ReceiveNointp< T> Port

  virtual ReceiveNointp<T>* NewPort()                                   
;

Function is currently defined inline.


Back to the top of ReceiveNointp


Boolean Init(char* p_name, int p_num) ;

  Boolean Init(char* p_name, int p_num)
                              ;

Function is currently defined inline.


Back to the top of ReceiveNointp


ReceiveNointp(char* p_name, int p_num) ;

  ReceiveNointp(char* p_name, int p_num)
        ;

Function is currently defined inline.


Back to the top of ReceiveNointp


ReceiveNointp(void) ;

  ReceiveNointp(void)
        ;

Function is currently defined inline.


Back to the top of ReceiveNointp


~ReceiveNointp(void) ;

  ~ReceiveNointp(void)   
;

Function is currently defined inline.


Back to the top of ReceiveNointp


All Members

public:
char* Class_name(void) ;
char* Object_name(void) ;
int Object_number(void) ;
void* Owner(void) ;
Boolean Compare(char* c_name, char* o_name, int o_num);
Boolean Compare(char* o_name, int o_num);
Boolean Compare(Object* obj);
Boolean Set_owner(void* o);
void Cprint(FILE* fp_out, char* head);
void Cprint(FILE* fp_out) ;
void Cprint(char* head ) ;
void Oprint(FILE* fp_out, char* head);
void Oprint(FILE* fp_out) ;
void Oprint(char* head ) ;
void Absname( char* absname );
Boolean Init(char* o_name, int o_num);
char* Data_pack_type(void) ;
Boolean Set_sender(void* s);
Boolean Register_receiver(void* r);
Boolean Switch(void);
Boolean Are_you_ready(void) ;
void Creq(void) ;
void Set_data_pack_array(void) ;
Boolean Can_you_get_data(time_t t_from, time_t t_to) ;
Boolean Can_you_get_data(time_t t) ;
void Get_data_pack_array(void**& dp_array, int& num_of_dp) ;
time_t Oldest_data_time(void) ;
time_t Newest_data_time(void) ;
int Number_of_data_packs(void) ;
Boolean Get_data_pack( void*& former, time_t data_time, void*& later, char flag) ;
Boolean Get_data_pack(void*& former, time_t data_time) ;
Boolean Get_data_pack(time_t data_time, void*& later) ;
time_t Necessary_time_from(void) ;
time_t Necessary_time_to(void) ;
void Reduce_data_pack_stock(void) ;
void Print_connection(FILE* fp_out, char* head);
void Print_connection(FILE*) ;
void Print_connection(char* head ) ;
Port* NewPort(); // pure virtual
Boolean Init(char* p_name, int p_num) ;
Boolean Can_you_get_data(time_t t_fromto) ;
Boolean Get_data_pack(void*& former, time_t data_time, void*& later, char flag ) ;
void Print_connection(FILE* fp_outr, char* head);
Boolean Get_pulse_data(time_t t, T& v);
ReceiveNointp<T>* NewPort() ;
protected:
char* class_name;
char* object_name;
int object_number;
void* owner;
static char* data_pack_type;
void* sender;

Back to the top of ReceiveNointp


Ancestors

Inheritance chain for ReceiveNointp:

Back to the top of ReceiveNointp


Descendants

Class is not inherited by any others.

Back to the top of ReceiveNointp


Generated from source by the Cocoon utilities on Sun Sep 3 22:52:04 2000 .

Report problems to jkotula@stratasys.com